package com.cgah.api

import com.cgah.exceptions.CustomerNotFoundException

/**
 * Created by IntelliJ IDEA.
 * User: chue
 * Date: 5/1/11
 * Time: 4:05 PM
 * To change this template use File | Settings | File Templates.
 */
public interface CustomerService {

    def countOfCustomers()
    def list(def params)
    def create(def params)
    def save(def customerInstance)
    def getCustomerById(def id) throws CustomerNotFoundException
    def deleteCustomerById(def id) throws CustomerNotFoundException
    def updateCustomerWithParams(def params) throws CustomerNotFoundException
}